package Work.test1;

public class employee extends Person{
    String office;
    double wage;

    employee(){}
    employee(String name, String address, String telephone, String office, double wage){
        super(name,address,telephone);
        this.office = office;
        this.wage = wage;
    }
    void show(){
        System.out.println("name:"+name);
        System.out.println("address:"+address);
        System.out.println("telephone:"+telephone);
        System.out.println("office:"+office);
        System.out.println("wage:"+wage);
    }
}
